package com.yunfei.yunhetong.constractCancel.service;
import java.util.List;
import java.util.Map;
import com.yunfei.yunhetong.constractCancel.bo.ConstractCancelBo;
   /**
    *@tablename Constractcancel
    *@author zhengyunfei
    *@createDate Fri Aug 30 13:26:57 CST 2019
    */ 
public interface ConstractCancelService {
	/**
	*新增
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 String add(ConstractCancelBo bo);
	/**
	*批量新增
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 String batchInsert(List bo);
	/**
	*修改
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 String update(ConstractCancelBo bo);
	/**
	*删除
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 String delete(String id);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 ConstractCancelBo findById(String id);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 ConstractCancelBo findByMap(Map queryMap);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 ConstractCancelBo findByBo(ConstractCancelBo bo);
	/**
	*查询所有信息
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 List<ConstractCancelBo> findAllList(ConstractCancelBo bo);
	/**
	*查询所有信息
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 List<ConstractCancelBo> findAllList(Map<String,Object> queryMap);
	/**
	*查询所有信息
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 List<ConstractCancelBo> findAllListPage(ConstractCancelBo bo);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Fri Aug 30 13:26:57 CST 2019
	*/
	 int count(ConstractCancelBo bo);
}

